<?php

namespace app\models\user\gs;

use Yii;

/**
 * This is the model class for table "{{%user_basechanpin_gs}}".
 *
 * @property int $id
 * @property int|null $uid 和用户uid对应
 * @property string|null $chanpin 公司做什么产品
 * @property string|null $zhenzhilei 针织类,用,分割
 * @property string|null $suozhilei 梭织类
 * @property int $created_at 创建时间
 * @property string|null $fengge 产品风格
 * @property string|null $zhiliangbiaozhun 质量标准
 */
class User_basechanpin_gsModel extends \app\models\BaseUserModel
{
    /**
     * {@inheritdoc}
     */
    public static function tableName()
    {
        return '{{%user_basechanpin_gs}}';
    }

    /**
     * {@inheritdoc}
     */
    public function rules()
    {
        return [
            [['uid', 'time'], 'integer'],
            [['chanpin', 'zhiliangbiaozhun'], 'string', 'max' => 255],
            [['zhenzhilei', 'suozhilei', 'fengge'], 'string', 'max' => 1024],
        ];
    }

    /**
     * {@inheritdoc}
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'uid' => 'Uid',
            'chanpin' => '产品',
            'zhenzhilei' => '针织类',
            'suozhilei' => '梭织类',
            'time' => 'Created At',
            'fengge' => '风格',
            'zhiliangbiaozhun' => '质量标准',
        ];
    }
}
